package ar.edu.unq.wannaplay.dtos;

import ar.edu.unq.wannaplay.calendareable.Project;
import ar.edu.unq.wannaplay.employee.Employee;

public class ProjectInRegisterDTO extends ProjectDTO {
    private static final long serialVersionUID = 1L;

    public ProjectInRegisterDTO(final Project project) {
        super(project);
    }

    @Override
    protected EmployeeDTO createEmployeeDTO(final Employee employee) {
        return new EmployeeDTO(employee.getData(), employee.getSkills(), employee.getRegister().getLicences());
    }

}
